The ambient-pressure endstation and branchline of the Versatile Soft X-ray (VerSoX) beamline B07 at Diamond Light Source serves a very diverse user community studying heterogeneous catalysts, pharmaceuticals and biomaterials under realistic conditions, liquids and ices, and novel electronic, photonic and battery materials. The instrument facilitates studies of the near-surface chemical composition, electronic and geometric structure of a variety of samples using X-ray photoelectron spectroscopy (XPS) and near-edge X-ray absorption fine-structure (NEXAFS) spectroscopy in the photon energy range from 170?eV to 2800?eV. The beamline provides a resolving power hν/Δ(hν) &gt; 5000 at a photon flux &gt; 1010?photons?s-1 over most of its energy range. By operating the optical elements in a low-pressure oxygen atmosphere, carbon contamination can be almost completely eliminated, which makes the beamline particularly suitable for carbon K-edge NEXAFS. The endstation can be operated at pressures up to 100?mbar, whereby XPS can be routinely performed up to 30?mbar. A selection of typical data demonstrates the capability of the instrument to analyse details of the surface composition of solid samples under ambient-pressure conditions using XPS and NEXAFS. In addition, it offers a convenient way of analysing the gas phase through X-ray absorption spectroscopy. Short XPS spectra can be measured at a time scale of tens of seconds. The shortest data acquisition times for NEXAFS are around 0.5?s per data point.A realistic wave optics simulation method has been developed to study how wavefront distortions originating from heat load deformations can be corrected using adaptive X-ray optics. Several planned soft X-ray and tender X-ray insertion-device beamlines in the Advanced Light Source upgrade rely on a common design principle. A flat, first mirror intercepts the white beam; vertical focusing is provided by a variable-line-space monochromator; and horizontal focusing comes from a single, pre-figured, adaptive mirror. A variety of scenarios to cope with thermal distortion in the first mirror are studied by finite-element analysis. The degradation of the intensity distribution at the focal plane is analyzed and the adaptive optics that correct it is modeled. The range of correctable wavefront errors across the operating range of the beamlines is reported in terms of mirror curvature and spatial frequencies. The software developed is a one-dimensional wavefront propagation package made available in the OASYS suite, an adaptable, customizable and efficient beamline modeling platform.This paper presents a novel cantilevered liquid-nitrogen-cooled silicon mirror design for the first optic in a new soft X-ray beamline that is being developed as part of the Advanced Light Source Upgrade (ALS-U) (Lawrence Berkeley National Laboratory, USA). The beamline is optimized for photon energies between 400 and 1400?eV with full polarization control. Calculations indicate that, without correction, this design will achieve a Strehl ratio greater than 0.85 for the entire energy and polarization ranges of the beamline. With a correction achieved by moving the focus 7.5?mm upstream, the minimum Strehl ratio is 0.99. This design is currently the baseline plan for all new ALS-U insertion device beamlines.Modern subtractive and additive manufacturing techniques present new avenues for X-ray optics with complex shapes and patterns. Refractive phase plates acting as glasses for X-ray optics have been fabricated, and spherical aberration in refractive X-ray lenses made from beryllium has been successfully corrected. A diamond phase plate made by femtosecond laser ablation was found to improve the Strehl ratio of a lens stack with a numerical aperture (NA) of 0.88 × 10-3 at 8.2?keV from 0.1 to 0.7. A polymer phase plate made by additive printing achieved an increase in the Strehl ratio of a lens stack at 35?keV with NA of 0.18 × 10-3 from 0.15 to 0.89, demonstrating diffraction-limited nanofocusing at high X-ray energies.The OASYS suite and its powerful integration features are used to implement a ray-tracing algorithm to accurately calculate the thermal load in any component of an undulator-based synchrotron beamline. This is achieved by sampling and converting the SRW source of a given energy into a Shadow source and using the latter code to ray trace the full beamline. The accuracy of the algorithm is proved by reconstructing the full undulator radiation distribution through an aperture and comparing the result with direct calculaton of the total power using SRW. The algorithm is particularly suited to analyze cases with complex beamline layouts and optical elements, such as crystals, multilayers, and compound refractive lenses. Examples of its use to calculate the power load on elements of two of the feature beamlines at the Advanced Photon Source Upgrade Project and a comparison of the results with analytical calculations are presented.A focusing optics that can provide a sub-micrometre high-flux probe for soft X-ray micrometre-scale angle-resolved photoemission spectroscopy (ARPES) is proposed. A monolithic Wolter-type mirror with a large acceptance, achromatism and small comatic aberration was designed and evaluated. A focused beam size of 0.4??m (vertical) × 4??m (horizontal), a high throughput of 59% and a high tolerance of 1.6?mrad to the pitching error were realized at a photon energy of 1000?eV. A Wolter-type mirror can be practically employed as a stable sub-micrometre focusing mirror with high throughput in ARPES applications.Over the last decade, serial crystallography, a method to collect complete diffraction datasets from a large number of microcrystals delivered and exposed to an X-ray beam in random orientations at room temperature, has been successfully implemented at X-ray free-electron lasers and synchrotron radiation facility beamlines. This development relies on a growing variety of sample presentation methods, including different fixed target supports, injection methods using gas-dynamic virtual-nozzle injectors and high-viscosity extrusion injectors, and acoustic levitation of droplets, each with unique requirements. In comparison with X-ray free-electron lasers, increased beam time availability makes synchrotron facilities very attractive to perform serial synchrotron X-ray crystallography (SSX) experiments. https://www.selleckchem.com/products/opb-171775.html Within this work, the possibilities to perform SSX at BioMAX, the first macromolecular crystallography beamline at MAX IV Laboratory in Lund, Sweden, are described, together with case studies from the SSX user program an implementation of a high-viscosity extrusion injector to perform room temperature serial crystallography at BioMAX using two solid supports - silicon nitride membranes (Silson, UK) and XtalTool (Jena Bioscience, Germany).